//package com.cjm.one.common.config.sms;
//import lombok.Data;
//import org.springframework.boot.context.properties.ConfigurationProperties;
//import org.springframework.stereotype.Component;
//
//import java.util.HashMap;
//import java.util.Map;
//
//// EmailProperties.java
//@Data
//@Component
//@ConfigurationProperties(prefix = "spring.mail")
//public class EmailProperties {
//    // 字段与配置严格对应
//    private String host;
//    private Integer port;
//    private String username;
//    private String password;
//    private String protocol;
//    private String mailFrom; // 对应配置中的 mailFrom
//    private String mailCc;   // 对应配置中的 mailCc
//
//    // 接收自定义扩展属性
//    private Map<String, String> properties = new HashMap<>();
//}
